package com.carbon.assets.service;

import com.carbon.assets.entity.CarbonExchange;
import com.carbon.common.service.BaseService;
import com.carbon.assets.param.CarbonExchangeQueryParam;
import com.carbon.domain.assets.vo.CarbonExchangeQueryVo;
import com.carbon.common.api.Paging;

import java.io.Serializable;

/**
 * <p>
 * 碳交易所  服务类
 * </p>
 *
 * @author Li Jun
 * @since 2021-08-16
 */
public interface CarbonExchangeService extends BaseService<CarbonExchange> {

    /**
     * 根据ID获取交易所详情
     */
    CarbonExchangeQueryVo getCarbonExchangeById(Serializable id);

    /**
     * 获取交易所分页列表
     */
    Paging<CarbonExchangeQueryVo> getCarbonExchangePageList(CarbonExchangeQueryParam param);
}
